PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Sparkle / Squares / Waltra - Square Party.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=2.000 |
| 8 | fDecay=0.900 |
| 9 | fVideoEchoZoom=1.007 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=6 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=2.103 |
| 27 | fWaveSmoothing=0.540 |
| 28 | fWaveParam=0.380 |
| 29 | fModWaveAlphaStart=0.810 |
| 30 | fModWaveAlphaEnd=1.400 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.05500 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.02349 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.010 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=442 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.89152 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=x = .4+sample*.2 ; |
| 89 | wave_0_per_point2=y = .5+ value2*.01*q22; |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=a = .5*q24*((q27+1)%2); |
| 92 | wave_0_per_point5=r = 0.2;b=1; g =.6; |
| 93 | wavecode_1_enabled=1 |
| 94 | wavecode_1_samples=512 |
| 95 | wavecode_1_sep=0 |
| 96 | wavecode_1_bSpectrum=0 |
| 97 | wavecode_1_bUseDots=0 |
| 98 | wavecode_1_bDrawThick=1 |
| 99 | wavecode_1_bAdditive=0 |
| 100 | wavecode_1_scaling=0.89152 |
| 101 | wavecode_1_smoothing=0.00000 |
| 102 | wavecode_1_r=1.000 |
| 103 | wavecode_1_g=1.000 |
| 104 | wavecode_1_b=1.000 |
| 105 | wavecode_1_a=0.100 |
| 106 | wave_1_per_point1=y = .4+sample*.2 ; |
| 107 | wave_1_per_point2=x = .5+ value2*.01*q22; |
| 108 | wave_1_per_point3= |
| 109 | wave_1_per_point4=a = .6*q24*((q27)%2); |
| 110 | wave_1_per_point5=r = 0.2;b=1; g =.6; |
| 111 | wavecode_2_enabled=0 |
| 112 | wavecode_2_samples=512 |
| 113 | wavecode_2_sep=0 |
| 114 | wavecode_2_bSpectrum=0 |
| 115 | wavecode_2_bUseDots=0 |
| 116 | wavecode_2_bDrawThick=1 |
| 117 | wavecode_2_bAdditive=0 |
| 118 | wavecode_2_scaling=0.89152 |
| 119 | wavecode_2_smoothing=0.82000 |
| 120 | wavecode_2_r=1.000 |
| 121 | wavecode_2_g=1.000 |
| 122 | wavecode_2_b=1.000 |
| 123 | wavecode_2_a=0.100 |
| 124 | wavecode_3_enabled=0 |
| 125 | wavecode_3_samples=512 |
| 126 | wavecode_3_sep=0 |
| 127 | wavecode_3_bSpectrum=1 |
| 128 | wavecode_3_bUseDots=1 |
| 129 | wavecode_3_bDrawThick=0 |
| 130 | wavecode_3_bAdditive=0 |
| 131 | wavecode_3_scaling=1.00000 |
| 132 | wavecode_3_smoothing=0.50000 |
| 133 | wavecode_3_r=1.000 |
| 134 | wavecode_3_g=1.000 |
| 135 | wavecode_3_b=1.000 |
| 136 | wavecode_3_a=1.000 |
| 137 | wave_3_per_point1=ra = .8; |
| 138 | wave_3_per_point2=rb = .5; |
| 139 | wave_3_per_point3=pib = 6.28318530718; |
| 140 | wave_3_per_point4= |
| 141 | wave_3_per_point5= |
| 142 | wave_3_per_point6=tic = min(time-tin,.1); |
| 143 | wave_3_per_point7=tin = if(equal(sample,0),time,tin); |
| 144 | wave_3_per_point8= |
| 145 | wave_3_per_point9=mod = 1.5 + .5*sin(time*.15); |
| 146 | wave_3_per_point10=med = 1.5 + .5*sin(time*.134); |
| 147 | wave_3_per_point11=med = 5; |
| 148 | wave_3_per_point12=amod = 3; |
| 149 | wave_3_per_point13= |
| 150 | wave_3_per_point14=vr = rand(10001)*.0001; |
| 151 | wave_3_per_point15=rb = rb + rand(10001)*.0001*.1; |
| 152 | wave_3_per_point16= |
| 153 | wave_3_per_point17=a = vr; |
| 154 | wave_3_per_point18= |
| 155 | wave_3_per_point19=sa = vr*pib*.5; |
| 156 | wave_3_per_point20=sp = sa*mod + q1*1.3; |
| 157 | wave_3_per_point21=sam = sa*med - q1*.219; |
| 158 | wave_3_per_point22= |
| 159 | wave_3_per_point23=ox = ra*sin(sam*pib); |
| 160 | wave_3_per_point24=oy = ra*cos(sam*pib); |
| 161 | wave_3_per_point25=ox = ox + rb*-cos(sp)*sin(sam*pib); |
| 162 | wave_3_per_point26=oz = rb*-sin(sp); |
| 163 | wave_3_per_point27=oy = oy + rb*-cos(sp)*cos(sam*pib); |
| 164 | wave_3_per_point28= |
| 165 | wave_3_per_point29= |
| 166 | wave_3_per_point30=xang = time*.132; |
| 167 | wave_3_per_point31=xang = q2; |
| 168 | wave_3_per_point32=yang = time*.153; |
| 169 | wave_3_per_point33=yang = q3; |
| 170 | wave_3_per_point34=zang = time*.110; |
| 171 | wave_3_per_point35=zang = q4; |
| 172 | wave_3_per_point36=fov = 0.6 + 0.2*sin(time); |
| 173 | wave_3_per_point37=fov = .5; |
| 174 | wave_3_per_point38= |
| 175 | wave_3_per_point39=mx = ox*cos(zang) - oy*sin(zang); |
| 176 | wave_3_per_point40=my = ox*sin(zang) + oy*cos(zang); |
| 177 | wave_3_per_point41=ox = mx; |
| 178 | wave_3_per_point42=oy = my; |
| 179 | wave_3_per_point43=mx = ox*cos(yang) + oz*sin(yang); |
| 180 | wave_3_per_point44=mz = - ox*sin(yang) + oz*cos(yang); |
| 181 | wave_3_per_point45=ox = mx; |
| 182 | wave_3_per_point46=oz = mz; |
| 183 | wave_3_per_point47=my = oy*cos(xang) - oz*sin(xang); |
| 184 | wave_3_per_point48=mz = oy*sin(xang) + oz*cos(xang); |
| 185 | wave_3_per_point49=oy = my; |
| 186 | wave_3_per_point50=oz = mz; |
| 187 | wave_3_per_point51= |
| 188 | wave_3_per_point52=oz = oz - 2; |
| 189 | wave_3_per_point53=x = ox*fov/oz + 0.5; |
| 190 | wave_3_per_point54=x = (x-.5)*0.75 + 0.5; |
| 191 | wave_3_per_point55=y = oy*fov/oz + 0.5; |
| 192 | wave_3_per_point56= |
| 193 | shapecode_0_enabled=1 |
| 194 | shapecode_0_sides=18 |
| 195 | shapecode_0_additive=0 |
| 196 | shapecode_0_thickOutline=0 |
| 197 | shapecode_0_textured=1 |
| 198 | shapecode_0_num_inst=1 |
| 199 | shapecode_0_x=0.500 |
| 200 | shapecode_0_y=0.500 |
| 201 | shapecode_0_rad=0.15416 |
| 202 | shapecode_0_ang=0.00000 |
| 203 | shapecode_0_tex_ang=3.76991 |
| 204 | shapecode_0_tex_zoom=5.27784 |
| 205 | shapecode_0_r=1.000 |
| 206 | shapecode_0_g=1.000 |
| 207 | shapecode_0_b=1.000 |
| 208 | shapecode_0_a=0.700 |
| 209 | shapecode_0_r2=1.000 |
| 210 | shapecode_0_g2=1.000 |
| 211 | shapecode_0_b2=1.000 |
| 212 | shapecode_0_a2=0.000 |
| 213 | shapecode_0_border_r=1.000 |
| 214 | shapecode_0_border_g=1.000 |
| 215 | shapecode_0_border_b=0.000 |
| 216 | shapecode_0_border_a=0.000 |
| 217 | shape_0_per_frame1=tex_ang = 3+2*q1; |
| 218 | shapecode_1_enabled=1 |
| 219 | shapecode_1_sides=32 |
| 220 | shapecode_1_additive=0 |
| 221 | shapecode_1_thickOutline=0 |
| 222 | shapecode_1_textured=0 |
| 223 | shapecode_1_num_inst=1 |
| 224 | shapecode_1_x=0.500 |
| 225 | shapecode_1_y=0.500 |
| 226 | shapecode_1_rad=0.06892 |
| 227 | shapecode_1_ang=0.00000 |
| 228 | shapecode_1_tex_ang=0.00000 |
| 229 | shapecode_1_tex_zoom=1.83150 |
| 230 | shapecode_1_r=1.000 |
| 231 | shapecode_1_g=1.000 |
| 232 | shapecode_1_b=1.000 |
| 233 | shapecode_1_a=0.900 |
| 234 | shapecode_1_r2=0.000 |
| 235 | shapecode_1_g2=0.000 |
| 236 | shapecode_1_b2=0.000 |
| 237 | shapecode_1_a2=0.000 |
| 238 | shapecode_1_border_r=0.500 |
| 239 | shapecode_1_border_g=0.500 |
| 240 | shapecode_1_border_b=0.500 |
| 241 | shapecode_1_border_a=0.000 |
| 242 | shape_1_per_frame1=a = q24/2; a2 = 0; |
| 243 | shape_1_per_frame2= |
| 244 | shape_1_per_frame3=r = rand(10)/10; |
| 245 | shape_1_per_frame4=g = rand(10)/10; |
| 246 | shape_1_per_frame5=b = rand(10)/10; |
| 247 | shape_1_per_frame6= |
| 248 | shape_1_per_frame7=rad = .06*q22; |
| 249 | shapecode_2_enabled=0 |
| 250 | shapecode_2_sides=63 |
| 251 | shapecode_2_additive=0 |
| 252 | shapecode_2_thickOutline=0 |
| 253 | shapecode_2_textured=0 |
| 254 | shapecode_2_num_inst=1 |
| 255 | shapecode_2_x=0.123 |
| 256 | shapecode_2_y=0.000 |
| 257 | shapecode_2_rad=0.27319 |
| 258 | shapecode_2_ang=0.00000 |
| 259 | shapecode_2_tex_ang=0.00000 |
| 260 | shapecode_2_tex_zoom=0.49981 |
| 261 | shapecode_2_r=1.000 |
| 262 | shapecode_2_g=1.000 |
| 263 | shapecode_2_b=1.000 |
| 264 | shapecode_2_a=1.000 |
| 265 | shapecode_2_r2=1.000 |
| 266 | shapecode_2_g2=1.000 |
| 267 | shapecode_2_b2=1.000 |
| 268 | shapecode_2_a2=0.000 |
| 269 | shapecode_2_border_r=0.500 |
| 270 | shapecode_2_border_g=0.500 |
| 271 | shapecode_2_border_b=0.500 |
| 272 | shapecode_2_border_a=0.000 |
| 273 | shape_2_per_frame1=x = .5 + .1* sin (time*73); |
| 274 | shape_2_per_frame2=y = .5 + .1* sin (time*23); |
| 275 | shape_2_per_frame3= |
| 276 | shape_2_per_frame4=r = 0; g = 0; b = 0; |
| 277 | shape_2_per_frame5=r2 = 1; g2 = 1; b2 = 1; |
| 278 | shape_2_per_frame6= |
| 279 | shape_2_per_frame7=rad = mid_att/100; |
| 280 | shape_2_per_frame8=a = .7; |
| 281 | shape_2_per_frame9=a2 = a; |
| 282 | shapecode_3_enabled=1 |
| 283 | shapecode_3_sides=4 |
| 284 | shapecode_3_additive=0 |
| 285 | shapecode_3_thickOutline=0 |
| 286 | shapecode_3_textured=0 |
| 287 | shapecode_3_num_inst=1 |
| 288 | shapecode_3_x=0.500 |
| 289 | shapecode_3_y=0.510 |
| 290 | shapecode_3_rad=0.19869 |
| 291 | shapecode_3_ang=0.00000 |
| 292 | shapecode_3_tex_ang=1.00531 |
| 293 | shapecode_3_tex_zoom=0.49981 |
| 294 | shapecode_3_r=1.000 |
| 295 | shapecode_3_g=0.400 |
| 296 | shapecode_3_b=0.000 |
| 297 | shapecode_3_a=0.700 |
| 298 | shapecode_3_r2=1.000 |
| 299 | shapecode_3_g2=1.000 |
| 300 | shapecode_3_b2=1.000 |
| 301 | shapecode_3_a2=0.000 |
| 302 | shapecode_3_border_r=0.500 |
| 303 | shapecode_3_border_g=0.500 |
| 304 | shapecode_3_border_b=0.500 |
| 305 | shapecode_3_border_a=0.000 |
| 306 | shape_3_per_frame1=x = 0.05 + rand(900)/1000; |
| 307 | shape_3_per_frame2=y = 0.05 + rand(900)/1000; |
| 308 | shape_3_per_frame3= |
| 309 | per_frame_1=wave_r = wave_r + 0.200*( 0.90*sin(2.753*time+0) + 0.40*sin(2.315*time+1) ); |
| 310 | per_frame_2=wave_g = wave_g + 0.100*( 0.90*sin(3.183*time+3) + 0.40*sin(2.006*time+4) ); |
| 311 | per_frame_3=wave_b = wave_b + 0.100*( 0.90*sin(2.393*time+5) + 0.40*sin(2.733*time+2) ); |
| 312 | per_frame_4=zoom = zoom + 0.013*( 0.60*sin(0.339*time) + 0.40*sin(0.276*time) ); |
| 313 | per_frame_5=rot = rot + 0.040*( 0.60*sin(0.381*time) + 0.40*sin(0.579*time) ); |
| 314 | per_frame_6=cx = cx + 0.003*( 0.60*sin(0.471*time) + 0.40*sin(0.297*time) ); |
| 315 | per_frame_7=cy = cy + 0.003*( 0.60*sin(0.379*time) + 0.40*sin(0.351*time) ); |
| 316 | per_frame_8=dx = dx + 0.003*( 0.60*sin(0.234*time) + 0.40*sin(0.277*time) ); |
| 317 | per_frame_9=rot=rot+0.02*(sin(time*2.134)+sin(time*1.7134)+sin(time*2.834)); |
| 318 | per_frame_10=dx=dx+0.0025*(sin(time*1.134)+sin(time*0.7134)+sin(time*2.334)); |
| 319 | per_frame_11=dy=dy+0.0025*(sin(time*1.8834)+sin(time*1.0144)+sin(time*1.334)); |
| 320 | warp_1=`shader_body |
| 321 | warp_2=`{ |
| 322 | warp_3=` float2 uv2 = lerp(uv_orig, uv, 0.2); |
| 323 | warp_4=` |
| 324 | warp_5=` // diffused version: |
| 325 | warp_6=` float ss = 0.3; |
| 326 | warp_7=` float3 blur = 0.25*( |
| 327 | warp_8=` tex2D(sampler_main, uv2+ss*texsize.zw*float2( 1, 1)).xyz + |
| 328 | warp_9=` tex2D(sampler_main, uv2+ss*texsize.zw*float2(-1, 1)).xyz + |
| 329 | warp_10=` tex2D(sampler_main, uv2+ss*texsize.zw*float2( 1,-1)).xyz + |
| 330 | warp_11=` tex2D(sampler_main, uv2+ss*texsize.zw*float2(-1,-1)).xyz |
| 331 | warp_12=` ); |
| 332 | warp_13=` |
| 333 | warp_14=` // diffusion: |
| 334 | warp_15=` ret = tex2D(sampler_main,uv2);//blur; |
| 335 | warp_16=` |
| 336 | warp_17=` float F2 = 0.035; |
| 337 | warp_18=` float k2 = 0.060; |
| 338 | warp_19=` float s = 0.025; |
| 339 | warp_20=` float scale = 9; |
| 340 | warp_21=` |
| 341 | warp_22=` // reaction: |
| 342 | warp_23=` float3 z = ret; |
| 343 | warp_24=` float uvv = ret.x*ret.y*ret.y; |
| 344 | warp_25=` z.x += (-uvv + F2*(1-ret.x) + 0.0007)*scale; |
| 345 | warp_26=` z.y += (uvv - (F2+k2)*ret.y)*scale; |
| 346 | warp_27=` //z.x += s*(16-ret.x*ret.y); |
| 347 | warp_28=` //z.y += s*(ret.x*ret.y - ret.y - ret.z); |
| 348 | warp_29=` z.z -= 0.02; |
| 349 | warp_30=` |
| 350 | warp_31=` // apply laplacian: |
| 351 | warp_32=` z.x += (blur - GetPixel(uv2))*0.2*scale; |
| 352 | warp_33=` |
| 353 | warp_34=` ret = z; |
| 354 | warp_35=` //ret *= 0.98 + 0.02*saturate( (0.75 - rad )*10 ); |
| 355 | warp_36=` //ret *= 0.99; |
| 356 | warp_37=` |
| 357 | warp_38=` // add noise: |
| 358 | warp_39=` ret.x += 0.09*(tex2d(sampler_noise_lq, uv*texsize.xy*texsize_noise_lq.zw + rand_frame.xy).xyz*2-1); |
| 359 | warp_40=` |
| 360 | warp_41=` // darken (decay) over time |
| 361 | warp_42=` //ret = (ret - 0.002)*0.99; |
| 362 | warp_43=`} |
| 363 | comp_1=`shader_body |
| 364 | comp_2=`{ |
| 365 | comp_3=` |
| 366 | comp_4=` |
| 367 | comp_5=` |
| 368 | comp_6=`float2 uva = uv; |
| 369 | comp_7=`float2 uvb = float2(1-uv.x,uv.y); |
| 370 | comp_8=` |
| 371 | comp_9=`ret = tex2D(sampler_main, uva).x + tex2D(sampler_main, uvb).x; |
| 372 | comp_10=` |
| 373 | comp_11=`float3 blurs = GetBlur1(uva).x + GetBlur3(uva).x; |
| 374 | comp_12=`blurs += GetBlur1(uvb).x + GetBlur3(uvb).x; |
| 375 | comp_13=` |
| 376 | comp_14=` |
| 377 | comp_15=`float2 uv3 = (uv-.5)*(1-GetBlur1(uv).zzz)+.5; |
| 378 | comp_16=`ret += saturate(pow(tex2D(sampler_main, uv3).zzz,.5)*(1-ret.x*2)), |
| 379 | comp_17=`ret += saturate(pow(GetBlur1(uv3).zzz,.5)*(1-ret.x*2)), |
| 380 | comp_18=` |
| 381 | comp_19=` |
| 382 | comp_20=`ret = lerp ( |
| 383 | comp_21=`blurs, |
| 384 | comp_22=`ret, |
| 385 | comp_23=`pow(ret,1)); |
| 386 | comp_24=` |
| 387 | comp_25=`ret = pow(ret,float3(5,1,.5)); |
| 388 | comp_26=` |
| 389 | comp_27=`ret += pow(tex2D(sampler_main, float2(uv.x,1-uv.y)).yyy+tex2D(sampler_main, 1-uv).yyy,float3(.6,.95,5)); |
| 390 | comp_28=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 391 | comp_29=` ((uv3.xyy*q28 |
| 392 | comp_30=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 393 | comp_31=` ).xyz* |
| 394 | comp_32=` float3(1,1,0)*0.05 + |
| 395 | comp_33=` time*float3(0,0,1)*q31 |
| 396 | comp_34=` ); |
| 397 | comp_35=`if(ret.x> q26*q13 && ret.x<= q23*q11 )ret.z -= (noise9).x*.5; |
| 398 | comp_36=`if(ret.y> q25*q11 && ret.y<= q22*q12 )ret.x -= (noise9).y*.5; |
| 399 | comp_37=`if(ret.z> q24*q12 && ret.z<= q21*q13 )ret.y -= (noise9).z*.5; |
| 400 | comp_38=` |
| 401 | comp_39=`ret-=slow_roam_sin*roam_cos.zxy*.5; |
| 402 | comp_40=` |
| 403 | comp_41=`} |